package org.lim.lcpicturebackend.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.lim.lcpicturebackend.model.dto.space.analyze.*;
import org.lim.lcpicturebackend.model.entity.Space;
import org.lim.lcpicturebackend.model.entity.User;
import org.lim.lcpicturebackend.model.vo.space.analyze.*;

import java.util.List;

public interface SpaceAnalyzeService extends IService<Space> {

    /**
     * 获取空间使用情况
     *
     * @param spaceUsageAnalyzeRequest 请求参数
     * @param loginUser 登录用户
     * @return 空间使用情况响应结果
     */
    SpaceUsageAnalyzeResponse getSpaceUsageAnalyze(SpaceUsageAnalyzeRequest spaceUsageAnalyzeRequest, User loginUser);

    /**
     * 获取空间分类使用情况
     * @param spaceCategoryAnalyzeRequest 请求参数
     * @param loginUser 登录用户
     * @return 空间分类使用情况响应结果
     */
    List<SpaceCategoryAnalyzeResponse> getSpaceCategoryAnalyze(SpaceCategoryAnalyzeRequest spaceCategoryAnalyzeRequest, User loginUser);

    List<SpaceTagAnalyzeResponse> getSpaceTagAnalyze(SpaceTagAnalyzeRequest spaceTagAnalyzeRequest, User loginUser);

    List<SpaceSizeAnalyzeResponse> getSpaceSizeAnalyze(SpaceSizeAnalyzeRequest spaceSizeAnalyzeRequest, User loginUser);

    List<SpaceUserAnalyzeResponse> getSpaceUserAnalyze(SpaceUserAnalyzeRequest spaceUserAnalyzeRequest, User loginUser);

    List<Space> getSpaceRankAnalyze(SpaceRankAnalyzeRequest spaceRankAnalyzeRequest, User loginUser);
}
